#!/bin/sh
if [ -e /usr/local/share/openarena/baseoa/server.cfg ]
then
    openarena-server +exec server.cfg +set net_port 1337
else
    cp server.cfg /usr/local/share/openarena/baseoa
    openarena-server +exec server.cfg +set net_port 1337
fi
